home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / MCLUTILS.CPT / oodles-of-utils / dialog-items / cicn-di.lisp < prev    next >
MacBinary  |  1991-10-23  |  3.9 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Oct 23 15:40:41 1991, modified Wed Oct 23 15:40:41 1991, creator Common Lisp 2, type ASCII, 3233 bytes "cicn-di.lisp" , at 0xd21 416 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 63 69 63 6e 2d 64 | 69 2e 6c 69 73 70 00 00 |..cicn-d|i.lisp..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 00 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 0c a1 00 | 00 01 a0 a5 2b 80 b9 a5 |........|....+...|
|00000060| 2b 80 b9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |+.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 27 ee 00 00 |........|....'...|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 63 69 63 6e |).(provi|de :cicn|
|000000a0| 2d 64 69 29 0d 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |-di).;;;|;;;;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0d 3b 3b 20 63 |;;;;;;;;|;;;.;; c|
|000000f0| 69 63 6e 2d 64 69 2e 4c | 69 73 70 0d 3b 3b 0d 3b |icn-di.L|isp.;;.;|
|00000100| 3b 20 43 6f 70 79 72 69 | 67 68 74 20 a9 20 31 39 |; Copyri|ght . 19|
|00000110| 39 31 20 4e 6f 72 74 68 | 77 65 73 74 65 72 6e 20 |91 North|western |
|00000120| 55 6e 69 76 65 72 73 69 | 74 79 20 49 6e 73 74 69 |Universi|ty Insti|
|00000130| 74 75 74 65 20 66 6f 72 | 20 74 68 65 20 4c 65 61 |tute for| the Lea|
|00000140| 72 6e 69 6e 67 20 53 63 | 69 65 6e 63 65 73 0d 3b |rning Sc|iences.;|
|00000150| 3b 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |; All Ri|ghts Res|
|00000160| 65 72 76 65 64 0d 3b 3b | 0d 3b 3b 20 61 75 74 68 |erved.;;|.;; auth|
|00000170| 6f 72 3a 20 4d 69 63 68 | 61 65 6c 20 53 2e 20 45 |or: Mich|ael S. E|
|00000180| 6e 67 62 65 72 0d 3b 3b | 0d 3b 3b 20 63 69 63 6e |ngber.;;|.;; cicn|
|00000190| 20 61 6e 64 20 63 69 63 | 6e 2d 62 75 74 74 6f 6e | and cic|n-button|
|000001a0| 20 64 69 61 6c 6f 67 20 | 69 74 65 6d 73 0d 3b 3b | dialog |items.;;|
|000001b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 0d 0d 28 6f | 6f 75 2d 64 65 70 65 6e |;;;;..(o|ou-depen|
|00000200| 64 65 6e 63 69 65 73 0d | 20 3a 67 72 61 70 68 69 |dencies.| :graphi|
|00000210| 63 2d 72 73 72 63 2d 73 | 76 6d 0d 20 3a 64 69 73 |c-rsrc-s|vm. :dis|
|00000220| 61 62 6c 65 2d 64 69 6d | 0d 20 3a 62 75 74 74 6f |able-dim|. :butto|
|00000230| 6e 2d 64 69 6d 29 0d 0d | 28 65 78 70 6f 72 74 20 |n-dim)..|(export |
|00000240| 27 28 63 69 63 6e 2d 64 | 69 20 63 69 63 6e 2d 62 |'(cicn-d|i cicn-b|
|00000250| 75 74 74 6f 6e 2d 64 69 | 20 0d 20 20 20 20 20 20 |utton-di| . |
|00000260| 20 20 20 20 73 65 74 2d | 76 69 65 77 2d 63 69 63 | set-|view-cic|
|00000270| 6e 29 29 0d 0d 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |n))..;;;|;;;;;;;;|
|00000280| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0d 23 7c 0d 0d |;;;;;;;;|;;;.#|..|
|000002c0| 63 69 63 6e 2d 64 69 20 | 70 72 6f 76 69 64 65 73 |cicn-di |provides|
|000002d0| 20 63 6f 6c 6f 72 20 69 | 63 6f 6e 73 20 66 6f 72 | color i|cons for|
|000002e0| 20 64 69 73 70 6c 61 79 | 2e 20 63 69 63 6e 2d 62 | display|. cicn-b|
|000002f0| 75 74 74 6f 6e 2d 64 69 | 20 61 64 64 69 74 69 6f |utton-di| additio|
|00000300| 6e 61 6c 6c 79 0d 70 72 | 6f 76 69 64 65 73 20 62 |nally.pr|ovides b|
|00000310| 75 74 74 6f 6e 20 62 65 | 68 61 76 69 6f 72 2e 0d |utton be|havior..|
|00000320| 0d 53 6f 6d 65 20 6e 6f | 74 65 73 20 74 6f 20 74 |.Some no|tes to t|
|00000330| 68 6f 73 65 20 75 6e 66 | 61 6d 69 6c 69 61 72 20 |hose unf|amiliar |
|00000340| 77 69 74 68 20 63 69 63 | 6e 27 73 3a 0d 20 2d 20 |with cic|n's:. - |
|00000350| 55 6e 6c 69 6b 65 20 62 | 2f 77 20 49 43 4f 4e 73 |Unlike b|/w ICONs|
|00000360| 2c 20 63 69 63 6e 27 73 | 20 61 72 65 20 6e 6f 74 |, cicn's| are not|
|00000370| 20 61 6c 77 61 79 73 20 | 33 32 78 33 32 20 62 69 | always |32x32 bi|
|00000380| 74 73 20 69 6e 20 73 69 | 7a 65 2e 0d 20 2d 20 63 |ts in si|ze.. - c|
|00000390| 69 63 6e 27 73 20 75 73 | 65 20 61 20 66 61 69 72 |icn's us|e a fair|
|000003a0| 6c 79 20 6c 61 72 67 65 | 20 61 6d 6f 75 6e 74 20 |ly large| amount |
|000003b0| 6f 66 20 6d 65 6d 6f 72 | 79 2c 20 61 6e 64 20 75 |of memor|y, and u|
|000003c0| 6e 6c 69 6b 65 20 47 65 | 74 49 63 6f 6e 2c 0d 20 |nlike Ge|tIcon,. |
|000003d0| 20 20 47 65 74 43 49 63 | 6f 6e 20 63 72 65 61 74 | GetCIc|on creat|
|000003e0| 65 73 20 61 20 6e 65 77 | 20 68 61 6e 64 6c 65 73 |es a new| handles|
|000003f0| 20 77 69 74 68 20 65 76 | 65 72 79 20 63 61 6c 6c | with ev|ery call|
|00000400| 2e 0d 20 2d 20 54 68 65 | 20 6c 61 74 65 73 74 20 |.. - The| latest |
|00000410| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 52 65 73 45 |versions| of ResE|
|00000420| 64 69 74 20 70 72 6f 76 | 69 64 65 20 61 20 6e 69 |dit prov|ide a ni|
|00000430| 63 65 20 63 69 63 6e 20 | 65 64 69 74 6f 72 2e 0d |ce cicn |editor..|
|00000440| 0d 53 65 65 20 41 6c 73 | 6f 0d 20 67 72 61 70 68 |.See Als|o. graph|
|00000450| 69 63 2d 72 73 72 63 2d | 73 76 6d 20 2d 20 69 6e |ic-rsrc-|svm - in|
|00000460| 68 65 72 69 74 65 64 20 | 62 65 68 61 76 69 6f 72 |herited |behavior|
|00000470| 0d 0d 0d 49 6e 69 74 61 | 72 67 73 0d 0d 20 3a 63 |...Inita|rgs.. :c|
|00000480| 69 63 6e 2d 69 64 0d 20 | 3a 63 69 63 6e 2d 6e 61 |icn-id. |:cicn-na|
|00000490| 6d 65 0d 20 20 20 54 68 | 65 20 63 69 63 6e 20 63 |me. Th|e cicn c|
|000004a0| 61 6e 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |an be sp|ecified |
|000004b0| 62 79 20 69 64 20 6f 72 | 20 6e 61 6d 65 2e 20 54 |by id or| name. T|
|000004c0| 68 65 20 63 69 63 6e 20 | 72 65 73 6f 75 72 63 65 |he cicn |resource|
|000004d0| 20 77 69 6c 6c 20 62 65 | 0d 20 20 20 75 73 65 64 | will be|. used|
|000004e0| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 63 69 63 | to crea|te a cic|
|000004f0| 6e 20 77 68 65 6e 20 74 | 68 65 20 69 74 65 6d 20 |n when t|he item |
|00000500| 69 73 20 69 6e 73 74 61 | 6c 6c 65 64 20 69 6e 20 |is insta|lled in |
|00000510| 61 20 77 69 6e 64 6f 77 | 2e 20 49 74 20 69 73 0d |a window|. It is.|
|00000520| 20 20 20 61 73 73 75 6d | 65 64 20 74 68 61 74 20 | assum|ed that |
|00000530| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00000540| 72 65 73 6f 75 72 63 65 | 20 66 69 6c 65 20 77 69 |resource| file wi|
|00000550| 6c 6c 20 62 65 20 6f 70 | 65 6e 20 61 74 20 74 68 |ll be op|en at th|
|00000560| 61 74 20 74 69 6d 65 2e | 0d 0d 20 3a 63 69 63 6e |at time.|.. :cicn|
|00000570| 2d 68 61 6e 64 6c 65 0d | 20 20 20 49 66 20 79 6f |-handle.| If yo|
|00000580| 75 20 61 6c 72 65 61 64 | 79 20 68 61 76 65 20 61 |u alread|y have a|
|00000590| 20 63 69 63 6e 20 68 61 | 6e 64 6c 65 2c 20 69 74 | cicn ha|ndle, it|
|000005a0| 20 63 61 6e 20 62 65 20 | 73 70 65 63 69 66 69 65 | can be |specifie|
|000005b0| 64 20 64 69 72 65 63 74 | 6c 79 2e 0d 0d 20 3a 63 |d direct|ly... :c|
|000005c0| 69 63 6e 2d 73 63 61 6c | 69 6e 67 20 5b 3a 61 64 |icn-scal|ing [:ad|
|000005d0| 6a 75 73 74 2d 76 69 65 | 77 2d 73 69 7a 65 5d 0d |just-vie|w-size].|
|000005e0| 20 20 20 44 65 74 65 72 | 6d 69 6e 65 73 20 69 66 | Deter|mines if|
|000005f0| 20 74 68 65 20 63 69 63 | 6e 20 69 73 20 73 63 61 | the cic|n is sca|
|00000600| 6c 65 64 20 74 6f 20 74 | 68 65 20 76 69 65 77 20 |led to t|he view |
|00000610| 73 69 7a 65 20 6f 72 20 | 76 69 63 65 2d 76 65 72 |size or |vice-ver|
|00000620| 73 61 2e 0d 20 20 20 41 | 6c 6c 6f 77 65 64 20 6b |sa.. A|llowed k|
|00000630| 65 79 77 6f 72 64 73 20 | 61 72 65 20 3a 61 64 6a |eywords |are :adj|
|00000640| 75 73 74 2d 76 69 65 77 | 2d 73 69 7a 65 2c 20 3a |ust-view|-size, :|
|00000650| 73 63 61 6c 65 2d 74 6f | 2d 76 69 65 77 2c 20 3a |scale-to|-view, :|
|00000660| 63 6c 69 70 2d 74 6f 2d | 76 69 65 77 2e 0d 20 20 |clip-to-|view.. |
|00000670| 20 20 3a 61 64 6a 75 73 | 74 2d 76 69 65 77 2d 73 | :adjus|t-view-s|
|00000680| 69 7a 65 20 2d 20 74 68 | 65 20 76 69 65 77 20 73 |ize - th|e view s|
|00000690| 69 7a 65 20 69 73 20 61 | 64 6a 75 73 74 65 64 20 |ize is a|djusted |
|000006a0| 74 6f 20 66 69 74 20 74 | 68 65 20 63 69 63 6e 0d |to fit t|he cicn.|
|000006b0| 20 20 20 20 3a 73 63 61 | 6c 65 2d 74 6f 2d 76 69 | :sca|le-to-vi|
|000006c0| 65 77 20 20 20 20 2d 20 | 74 68 65 20 63 69 63 6e |ew - |the cicn|
|000006d0| 20 69 73 20 73 63 61 6c | 65 64 20 74 6f 20 74 68 | is scal|ed to th|
|000006e0| 65 20 76 69 65 77 20 73 | 69 7a 65 2e 0d 20 20 20 |e view s|ize.. |
|000006f0| 20 3a 63 6c 69 70 2d 74 | 6f 2d 76 69 65 77 20 20 | :clip-t|o-view |
|00000700| 20 20 20 2d 20 74 68 65 | 20 63 69 63 6e 20 69 73 | - the| cicn is|
|00000710| 20 64 72 61 77 6e 20 63 | 6c 69 70 70 65 64 20 74 | drawn c|lipped t|
|00000720| 6f 20 74 68 65 20 76 69 | 65 77 0d 0d 0d 4d 65 74 |o the vi|ew...Met|
|00000730| 68 6f 64 73 20 6f 66 20 | 49 6e 74 65 72 65 73 74 |hods of |Interest|
|00000740| 0d 0d 20 73 65 74 2d 76 | 69 65 77 2d 63 69 63 6e |.. set-v|iew-cicn|
|00000750| 20 28 64 69 20 63 69 63 | 6e 2d 64 69 29 20 26 6b | (di cic|n-di) &k|
|00000760| 65 79 20 63 69 63 6e 2d | 69 64 20 63 69 63 6e 2d |ey cicn-|id cicn-|
|00000770| 6e 61 6d 65 20 63 69 63 | 6e 2d 68 61 6e 64 6c 65 |name cic|n-handle|
|00000780| 0d 20 20 43 68 61 6e 67 | 65 73 20 74 68 65 20 63 |. Chang|es the c|
|00000790| 69 63 6e 2e 20 54 68 65 | 20 6b 65 79 77 6f 72 64 |icn. The| keyword|
|000007a0| 73 20 68 61 76 65 20 74 | 68 65 20 73 61 6d 65 20 |s have t|he same |
|000007b0| 6d 65 61 6e 69 6e 67 20 | 61 73 20 69 6e 20 6d 61 |meaning |as in ma|
|000007c0| 6b 65 2d 69 6e 73 74 61 | 6e 63 65 2e 0d 0d 7c 23 |ke-insta|nce...|#|
|000007d0| 0d 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|000007e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000007f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000800| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000810| 3b 3b 3b 3b 3b 3b 3b 0d | 20 20 20 20 20 20 20 20 |;;;;;;;.| |
|00000820| 0d 28 64 65 66 63 6c 61 | 73 73 20 63 69 63 6e 2d |.(defcla|ss cicn-|
|00000830| 64 69 20 28 67 72 61 70 | 68 69 63 2d 72 73 72 63 |di (grap|hic-rsrc|
|00000840| 2d 73 76 6d 20 64 69 61 | 6c 6f 67 2d 69 74 65 6d |-svm dia|log-item|
|00000850| 29 0d 20 20 28 28 72 73 | 72 63 2d 69 64 20 20 20 |). ((rs|rc-id |
|00000860| 20 20 20 20 20 20 3a 69 | 6e 69 74 61 72 67 20 3a | :i|nitarg :|
|00000870| 63 69 63 6e 2d 69 64 29 | 0d 20 20 20 28 72 73 72 |cicn-id)|. (rsr|
|00000880| 63 2d 6e 61 6d 65 20 20 | 20 20 20 20 20 3a 69 6e |c-name | :in|
|00000890| 69 74 61 72 67 20 3a 63 | 69 63 6e 2d 6e 61 6d 65 |itarg :c|icn-name|
|000008a0| 29 0d 20 20 20 28 72 73 | 72 63 2d 68 61 6e 64 6c |). (rs|rc-handl|
|000008b0| 65 20 20 20 20 20 3a 69 | 6e 69 74 61 72 67 20 3a |e :i|nitarg :|
|000008c0| 63 69 63 6e 2d 68 61 6e | 64 6c 65 29 0d 20 20 20 |cicn-han|dle). |
|000008d0| 28 67 72 61 70 68 69 63 | 2d 73 63 61 6c 69 6e 67 |(graphic|-scaling|
|000008e0| 20 3a 69 6e 69 74 61 72 | 67 20 3a 63 69 63 6e 2d | :initar|g :cicn-|
|000008f0| 73 63 61 6c 69 6e 67 29 | 29 0d 20 20 28 3a 64 65 |scaling)|). (:de|
|00000900| 66 61 75 6c 74 2d 69 6e | 69 74 61 72 67 73 0d 20 |fault-in|itargs. |
|00000910| 20 20 20 3a 72 73 72 63 | 2d 74 79 70 65 20 22 63 | :rsrc|-type "c|
|00000920| 69 63 6e 22 0d 20 20 20 | 20 29 29 0d 0d 28 64 65 |icn". | ))..(de|
|00000930| 66 63 6c 61 73 73 20 63 | 69 63 6e 2d 62 75 74 74 |fclass c|icn-butt|
|00000940| 6f 6e 2d 64 69 20 28 64 | 69 73 61 62 6c 65 2d 64 |on-di (d|isable-d|
|00000950| 69 6d 20 62 75 74 74 6f | 6e 2d 64 69 6d 20 63 69 |im butto|n-dim ci|
|00000960| 63 6e 2d 64 69 29 20 28 | 29 29 0d 0d 28 64 65 66 |cn-di) (|))..(def|
|00000970| 6d 65 74 68 6f 64 20 72 | 73 72 63 2d 67 65 74 2d |method r|src-get-|
|00000980| 66 6e 20 28 28 64 69 20 | 63 69 63 6e 2d 64 69 29 |fn ((di |cicn-di)|
|00000990| 20 72 73 72 63 2d 74 79 | 70 65 20 72 73 72 63 2d | rsrc-ty|pe rsrc-|
|000009a0| 69 64 2d 6f 72 2d 6e 61 | 6d 65 29 0d 20 20 28 64 |id-or-na|me). (d|
|000009b0| 65 63 6c 61 72 65 20 28 | 69 67 6e 6f 72 65 20 72 |eclare (|ignore r|
|000009c0| 73 72 63 2d 74 79 70 65 | 29 29 0d 20 20 28 65 74 |src-type|)). (et|
|000009d0| 79 70 65 63 61 73 65 20 | 72 73 72 63 2d 69 64 2d |ypecase |rsrc-id-|
|000009e0| 6f 72 2d 6e 61 6d 65 0d | 20 20 20 20 28 66 69 78 |or-name.| (fix|
|000009f0| 6e 75 6d 20 28 23 5f 47 | 65 74 43 49 63 6f 6e 20 |num (#_G|etCIcon |
|00000a00| 72 73 72 63 2d 69 64 2d | 6f 72 2d 6e 61 6d 65 29 |rsrc-id-|or-name)|
|00000a10| 29 0d 20 20 20 20 28 73 | 74 72 69 6e 67 20 28 23 |). (s|tring (#|
|00000a20| 5f 47 65 74 43 49 63 6f | 6e 20 28 67 65 74 2d 72 |_GetCIco|n (get-r|
|00000a30| 65 73 6f 75 72 63 65 2d | 69 64 20 22 63 69 63 6e |esource-|id "cicn|
|00000a40| 22 20 72 73 72 63 2d 69 | 64 2d 6f 72 2d 6e 61 6d |" rsrc-i|d-or-nam|
|00000a50| 65 29 29 29 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |e)))))..|(defmeth|
|00000a60| 6f 64 20 72 73 72 63 2d | 64 69 73 70 6f 73 65 2d |od rsrc-|dispose-|
|00000a70| 66 6e 20 28 28 64 69 20 | 63 69 63 6e 2d 64 69 29 |fn ((di |cicn-di)|
|00000a80| 20 72 73 72 63 2d 68 61 | 6e 64 6c 65 20 72 73 72 | rsrc-ha|ndle rsr|
|00000a90| 63 2d 68 61 6e 64 6c 65 | 70 29 0d 20 20 28 69 66 |c-handle|p). (if|
|00000aa0| 20 72 73 72 63 2d 68 61 | 6e 64 6c 65 70 0d 20 20 | rsrc-ha|ndlep. |
|00000ab0| 20 20 28 65 72 72 6f 72 | 20 22 44 6f 6e 27 74 20 | (error| "Don't |
|00000ac0| 6b 6e 6f 77 20 68 6f 77 | 20 74 6f 20 64 69 73 70 |know how| to disp|
|00000ad0| 6f 73 65 20 6f 66 20 72 | 65 73 6f 75 72 63 65 20 |ose of r|esource |
|00000ae0| 27 63 69 63 6e 27 73 22 | 29 0d 20 20 20 20 28 23 |'cicn's"|). (#|
|00000af0| 5f 44 69 73 70 6f 73 43 | 49 63 6f 6e 20 72 73 72 |_DisposC|Icon rsr|
|00000b00| 63 2d 68 61 6e 64 6c 65 | 29 29 29 0d 0d 28 64 65 |c-handle|)))..(de|
|00000b10| 66 6d 65 74 68 6f 64 20 | 67 72 61 70 68 69 63 2d |fmethod |graphic-|
|00000b20| 73 69 7a 65 20 28 28 64 | 69 20 63 69 63 6e 2d 64 |size ((d|i cicn-d|
|00000b30| 69 29 20 63 69 63 6e 2d | 68 61 6e 64 6c 65 29 0d |i) cicn-|handle).|
|00000b40| 20 20 28 64 65 63 6c 61 | 72 65 20 28 69 67 6e 6f | (decla|re (igno|
|00000b50| 72 65 20 64 69 29 29 0d | 20 20 28 73 75 62 74 72 |re di)).| (subtr|
|00000b60| 61 63 74 2d 70 6f 69 6e | 74 73 0d 20 20 20 28 68 |act-poin|ts. (h|
|00000b70| 72 65 66 20 63 69 63 6e | 2d 68 61 6e 64 6c 65 20 |ref cicn|-handle |
|00000b80| 3a 43 49 63 6f 6e 2e 69 | 63 6f 6e 50 4d 61 70 2e |:CIcon.i|conPMap.|
|00000b90| 62 6f 75 6e 64 73 2e 62 | 6f 74 52 69 67 68 74 29 |bounds.b|otRight)|
|00000ba0| 0d 20 20 20 28 68 72 65 | 66 20 63 69 63 6e 2d 68 |. (hre|f cicn-h|
|00000bb0| 61 6e 64 6c 65 20 3a 43 | 49 63 6f 6e 2e 69 63 6f |andle :C|Icon.ico|
|00000bc0| 6e 50 4d 61 70 2e 62 6f | 75 6e 64 73 2e 74 6f 70 |nPMap.bo|unds.top|
|00000bd0| 4c 65 66 74 20 29 29 29 | 0d 0d 28 64 65 66 6d 65 |Left )))|..(defme|
|00000be0| 74 68 6f 64 20 64 72 61 | 77 2d 67 72 61 70 68 69 |thod dra|w-graphi|
|00000bf0| 63 20 28 28 64 69 20 63 | 69 63 6e 2d 64 69 29 20 |c ((di c|icn-di) |
|00000c00| 63 69 63 6e 2d 68 61 6e | 64 6c 65 20 72 65 63 74 |cicn-han|dle rect|
|00000c10| 29 0d 20 20 28 23 5f 50 | 6c 6f 74 43 49 63 6f 6e |). (#_P|lotCIcon|
|00000c20| 20 72 65 63 74 20 63 69 | 63 6e 2d 68 61 6e 64 6c | rect ci|cn-handl|
|00000c30| 65 29 29 0d 0d 28 64 65 | 66 6d 65 74 68 6f 64 20 |e))..(de|fmethod |
|00000c40| 73 65 74 2d 76 69 65 77 | 2d 63 69 63 6e 20 28 28 |set-view|-cicn ((|
|00000c50| 64 69 20 63 69 63 6e 2d | 64 69 29 20 26 6b 65 79 |di cicn-|di) &key|
|00000c60| 20 63 69 63 6e 2d 69 64 | 20 63 69 63 6e 2d 6e 61 | cicn-id| cicn-na|
|00000c70| 6d 65 20 63 69 63 6e 2d | 68 61 6e 64 6c 65 29 0d |me cicn-|handle).|
|00000c80| 20 20 28 73 65 74 2d 76 | 69 65 77 2d 72 65 73 6f | (set-v|iew-reso|
|00000c90| 75 72 63 65 20 64 69 20 | 3a 72 73 72 63 2d 69 64 |urce di |:rsrc-id|
|00000ca0| 20 63 69 63 6e 2d 69 64 | 20 3a 72 73 72 63 2d 6e | cicn-id| :rsrc-n|
|00000cb0| 61 6d 65 20 63 69 63 6e | 2d 6e 61 6d 65 20 3a 72 |ame cicn|-name :r|
|00000cc0| 73 72 63 2d 68 61 6e 64 | 6c 65 20 63 69 63 6e 2d |src-hand|le cicn-|
|00000cd0| 68 61 6e 64 6c 65 29 29 | 0d 0d 3b 3b 3b 3b 3b 3b |handle))|..;;;;;;|
|00000ce0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000cf0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000d00| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000d10| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000d20| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 46 |.......Z|...Z...F|
|00000d90| 65 66 74 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |eft. | |
|00000da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000db0| 0c 63 69 63 6e 2d 64 69 | 2e 6c 69 73 70 69 02 00 |.cicn-di|.lispi..|
|00000dc0| 00 00 54 45 58 54 43 43 | 4c 32 40 00 00 00 00 00 |..TEXTCC|L2@.....|
|00000dd0| 00 00 54 45 58 54 43 43 | 4c 32 40 00 00 00 00 00 |..TEXTCC|L2@.....|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a4 bd ca 2f 00 00 | 00 00 00 00 01 a0 77 69 |...../..|......wi|
|00000e00| 74 68 2d 63 6c 69 70 2d | 72 65 63 74 20 63 6c 69 |th-clip-|rect cli|
|00000e10| 70 2d 72 65 63 74 0d 20 | 20 20 20 20 20 20 20 20 |p-rect. | |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e30| 20 20 20 20 28 23 5f 44 | 72 61 77 50 69 63 74 75 | (#_D|rawPictu|
|00000e40| 72 65 20 72 73 72 63 2d | 68 61 6e 64 6c 65 20 72 |re rsrc-|handle r|
|00000e50| 29 29 29 29 29 29 29 29 | 29 0d 0d 28 64 65 66 6d |))))))))|)..(defm|
|00000e60| 65 74 68 6f 64 20 50 49 | 43 54 2d 63 6f 72 6e 65 |ethod PI|CT-corne|
|00000e70| 72 73 20 28 28 64 69 20 | 50 49 43 54 2d 64 69 29 |rs ((di |PICT-di)|
|00000e80| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000e90| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 06 00 08 | 00 54 01 e5 03 1c 04 3f |........|.T.....?|
|00000ec0| 00 54 01 e5 03 1c 04 3f | 00 00 00 00 00 00 00 10 |.T.....?|........|
|00000ed0| 00 00 00 10 00 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|00000ee0| 01 5a 00 00 00 5a 00 00 | 00 46 00 37 d3 2c 08 16 |.Z...Z..|.F.7.,..|
|00000ef0| 00 00 00 1c 00 46 00 01 | 46 52 45 44 00 00 00 12 |.....F..|FRED....|
|00000f00| 4d 50 53 52 00 00 00 1e | 00 02 ff ff 00 00 00 00 |MPSR....|........|
|00000f10| 00 00 00 00 03 ed ff ff | 00 00 00 0e 00 37 ef ac |........|.....7..|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+